//
//  VersionsController.h
//  Book Editor
//
//  Created by Chris Karr on 7/7/08.
//  Copyright 2008 Northwestern University. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#import "BookDocument.h"

@interface VersionsController : NSObject 
{
	IBOutlet NSArrayController * versions;
	IBOutlet NSArrayController * tableArray;
	
	IBOutlet NSTableView * table;
	
	IBOutlet BookDocument * book;
	IBOutlet NSImageView * imageView;
	IBOutlet NSTextField * filename;
	IBOutlet NSTextField * size;
	IBOutlet NSTextField * application;
}

- (void) setFile:(NSString *) path;

- (IBAction) openFile:(id) sender;
- (IBAction) openFromTable:(id) sender;

- (IBAction) remove:(id) sender;

- (IBAction) revealFile:(id) sender;
- (IBAction) revealFromTable:(id) sender;

@end
